.class Lcom/xingbook/group/activity/s;
.super Lcom/fortysevendeg/swipelistview/BaseSwipeListViewListener;


# instance fields
.field final synthetic a:Lcom/xingbook/group/activity/GroupMainAct;


# direct methods
.method constructor <init>(Lcom/xingbook/group/activity/GroupMainAct;)V
    .locals 0

    iput-object p1, p0, Lcom/xingbook/group/activity/s;->a:Lcom/xingbook/group/activity/GroupMainAct;

    invoke-direct {p0}, Lcom/fortysevendeg/swipelistview/BaseSwipeListViewListener;-><init>()V

    return-void
.end method


# virtual methods
.method public onChangeSwipeMode(I)I
    .locals 1

    const/4 v0, -0x1

    return v0
.end method

.method public onChoiceChanged(IZ)V
    .locals 0

    return-void
.end method

.method public onChoiceEnded()V
    .locals 0

    return-void
.end method

.method public onChoiceStarted()V
    .locals 0

    return-void
.end method

.method public onClickBackView(I)V
    .locals 2

    iget-object v0, p0, Lcom/xingbook/group/activity/s;->a:Lcom/xingbook/group/activity/GroupMainAct;

    invoke-static {v0}, Lcom/xingbook/group/activity/GroupMainAct;->a(Lcom/xingbook/group/activity/GroupMainAct;)Lcom/xingbook/group/activity/y;

    move-result-object v0

    const/16 v1, 0xc

    invoke-virtual {v0, v1}, Lcom/xingbook/group/activity/y;->sendEmptyMessage(I)Z

    return-void
.end method

.method public onClickFrontView(I)V
    .locals 4

    add-int/lit8 v0, p1, -0x1

    iget-object v1, p0, Lcom/xingbook/group/activity/s;->a:Lcom/xingbook/group/activity/GroupMainAct;

    invoke-static {v1}, Lcom/xingbook/group/activity/GroupMainAct;->b(Lcom/xingbook/group/activity/GroupMainAct;)Lcom/fortysevendeg/swipelistview/SwipeListView;

    move-result-object v1

    invoke-virtual {v1}, Lcom/fortysevendeg/swipelistview/SwipeListView;->hasOpened()Z

    move-result v1

    if-nez v1, :cond_0

    const/4 v1, 0x0

    iget-object v2, p0, Lcom/xingbook/group/activity/s;->a:Lcom/xingbook/group/activity/GroupMainAct;

    invoke-static {v2}, Lcom/xingbook/group/activity/GroupMainAct;->c(Lcom/xingbook/group/activity/GroupMainAct;)Lcom/xingbook/group/adapter/l;

    move-result-object v2

    invoke-virtual {v2, v0}, Lcom/xingbook/group/adapter/l;->getItem(I)Ljava/lang/Object;

    move-result-object v0

    if-eqz v0, :cond_1

    instance-of v2, v0, Lcom/xingbook/group/a/b;

    if-eqz v2, :cond_1

    check-cast v0, Lcom/xingbook/group/a/b;

    iget-object v0, v0, Lcom/xingbook/group/a/b;->a:Ljava/lang/String;

    :goto_0
    if-eqz v0, :cond_0

    new-instance v1, Landroid/content/Intent;

    iget-object v2, p0, Lcom/xingbook/group/activity/s;->a:Lcom/xingbook/group/activity/GroupMainAct;

    const-class v3, Lcom/xingbook/group/activity/GroupDetailActivity;

    invoke-direct {v1, v2, v3}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    const-string v2, "com.xingbook.group.activity.INTENT_GROUPID"

    invoke-virtual {v1, v2, v0}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    iget-object v0, p0, Lcom/xingbook/group/activity/s;->a:Lcom/xingbook/group/activity/GroupMainAct;

    invoke-virtual {v0, v1}, Lcom/xingbook/group/activity/GroupMainAct;->startActivity(Landroid/content/Intent;)V

    :cond_0
    return-void

    :cond_1
    move-object v0, v1

    goto :goto_0
.end method

.method public onClosed(IZ)V
    .locals 0

    return-void
.end method

.method public onDismiss([I)V
    .locals 0

    return-void
.end method

.method public onFirstListItem()V
    .locals 0

    return-void
.end method

.method public onLastListItem()V
    .locals 0

    return-void
.end method

.method public onListChanged()V
    .locals 0

    return-void
.end method

.method public onMove(IF)V
    .locals 0

    return-void
.end method

.method public onOpened(IZ)V
    .locals 0

    return-void
.end method

.method public onStartClose(IZ)V
    .locals 0

    return-void
.end method

.method public onStartOpen(IIZ)V
    .locals 2

    iget-object v0, p0, Lcom/xingbook/group/activity/s;->a:Lcom/xingbook/group/activity/GroupMainAct;

    invoke-static {v0}, Lcom/xingbook/group/activity/GroupMainAct;->a(Lcom/xingbook/group/activity/GroupMainAct;)Lcom/xingbook/group/activity/y;

    move-result-object v0

    const/16 v1, 0xc

    invoke-virtual {v0, v1}, Lcom/xingbook/group/activity/y;->sendEmptyMessage(I)Z

    return-void
.end method
